<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">

  <xsl:output method="xml" indent="yes"/>

  <xsl:template match="/">
    <CardTypes>
      <xsl:for-each select="DocumentElement/CardType">
        <CardType>
          <Name>
            <xsl:value-of select="CARDNAME"/>
          </Name>
        </CardType>
      </xsl:for-each>
    </CardTypes>
  </xsl:template>
</xsl:stylesheet>
